linux: Reduce restrictions on address width for DMA operations
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 12 Jan 2007 15:34:30 +0000 (15:34 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 12 Jan 2007 15:34:30 +0000 (15:34 +0000)
commitd779bf952987735655c6e0c3e283d2bb347f02c6
tree5f8aa21af48d17e6ffc2761bb0595b5c36e84ecf
parentb58029254d67c13238d2bbdf94262d020cf32d4d
linux: Reduce restrictions on address width for DMA operations

Use address width needed by device rather than dma_bits in
dma_alloc_coherent().
Probe supported address width in swiotlb initialization.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/arch/i386/kernel/pci-dma-xen.c
linux-2.6-xen-sparse/arch/i386/kernel/swiotlb.c
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/swiotlb.h